package com.nand.blockdemo.ui;

import android.content.Intent;
import android.os.Bundle;
import android.util.Log;

import com.alibaba.android.arouter.launcher.ARouter;
import com.alibaba.fastjson.JSON;
import com.lzy.okgo.model.HttpParams;
import com.nand.blockdemo.App;
import com.nand.blockdemo.R;
import com.nand.library.base.base.BaseActivity;
import com.nand.library.base.bean.ResponseBean;
import com.nand.library.base.http.MyCallback;
import com.nand.library.base.http.OkGoUtils;
import com.nand.library.base.utils.SharedPreferencesUtils;
import com.nand.library.base.utils.SpUtils;
import com.nand.module.user.bean.UserInfoBean;
import com.nand.module.user.constant.URL;
import com.nand.module.user.ui.LoginActivity;

public class SplashActivity extends BaseActivity {

    private String password;
    private String accout;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    protected int initLayout() {
        return R.layout.activity_splash;
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void initData() {


      /*  if (App.isLogin()) {
            Intent intent = new Intent(this, MainActivity.class);
            startActivity(intent);
        }else {*/
            ARouter.getInstance().build("/user/login").navigation();
  //    }
        finish();
    }


}
